package com.example.myapplication.model;

import androidx.annotation.NonNull;
import androidx.room.ColumnInfo;
import androidx.room.Entity;
import androidx.room.PrimaryKey;
import java.util.Date;

@Entity(tableName = "FieldNoteBook")
public class FieldNotebookEntity {
    public int pointId;
    @PrimaryKey
    @NonNull
    public String name;

    public Date recordTime;
    public double longitude;
    public double latitude;
    public String outcrop;
    public String pointMeaning;
    public String description;
    public byte[] photo;
   // public boolean isuploaded;

    @ColumnInfo(defaultValue = "0") // 设置默认值为 0
    public int isuploaded;
}